package com.black.system.domain.req.system.edit;

import com.black.system.domain.req.system.add.SysNoticeAddReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@ApiModel(value = "公告修改请求模型")
@Getter
@Setter
@ToString(callSuper = true)
public class SysNoticeEditReq extends SysNoticeAddReq {

    @ApiModelProperty(value = "主键", required = true)
    @NotNull(message = "{id.not.null}")
    private Integer noticeId;
}
